package jmu.zzh.alumnus.business.service;

import com.github.pagehelper.PageInfo;
import jmu.zzh.alumnus.business.entity.Donation;
import jmu.zzh.alumnus.business.request.DonationRequest;

public interface DonationService {
    int createDonation(Long userId, DonationRequest request);

    PageInfo<Donation> getMyDonations(Long userId, int page, int size);

    PageInfo<Donation> getAllDonations(int page, int size);
} 